package com.xiaode.controller.otherApi;

import com.jfinal.kit.Kv;
import com.jfinal.kit.Ret;
import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.Record;

public class OtherApiService {

	
	/**
	 * 学生活动数据
	 */
	public Ret studentActivityData(Long startTime, Integer page, Integer limit) {
		Page<Record> studentActivityDataPage = Db.template("studentActivityData", Kv.of("startTime", startTime)).paginate(page, limit);
		return Ret.ok("studentActivityDataPage", studentActivityDataPage);
	}
	
	
	
	
}
